﻿<%@ Page Language="C#" MasterPageFile="~/Layouts/Form.Master" AutoEventWireup="true"
    Inherits="HHMMS.UI.Modules.PlanManager.PartsDiscardRecordEdit" CodeBehind="PartsDiscardRecordEdit.aspx.cs" %>

<asp:Content ContentPlaceHolderID="head" ID="idFormTitle" runat="server">
    <title><%=Request["title"]%></title>
</asp:Content>
<asp:Content ContentPlaceHolderID="Content" ID="idFormMain" runat="server">
    <!-- 页面头部 -->
    <div class="header">
	    <h1><%=Request["title"]%></h1>
    </div>    
    <div id="container" runat="server">
        <asp:TextBox ID="tbId" Name="Id" runat="server" Width="80%"
                        Visible="false"></asp:TextBox>
        <table cellpadding="2" cellspacing="1" width="100%" class="formitem">
            <caption><%=Request["title"]%></caption>
            <tr>
                <th>
                    单据名称:                </th>
                <td>
                    <asp:TextBox ID="tbTitle" Name="Title" runat="server" Width="80%"
                        validator="length[1,50]" ></asp:TextBox>
                </td>
                <th>
                    单据状态:                </th>
                <td>
                    <asp:TextBox ID="tbStatus" Name="Status" runat="server" Width="80%"
                         ></asp:TextBox>
                </td>
            </tr>  
            <tr>
				<th>
                    创建时间:                </th>
                <td>
                    <web:DatePicker ID="dpCreateTime" Name="CreateTime" runat="server" ShowTrigger="true" ></web:DatePicker>
                </td>
                <th>
                    创建人:                </th>
                <td>
                    <asp:TextBox ID="tbCreator" Name="Creator" runat="server" Width="80%"
                        validator="length[1,20]" ></asp:TextBox>
                </td>
            </tr>  
            <tr>
                <th>
                    创建人ID:                </th>
                <td>
                    <asp:TextBox ID="tbCreatorId" Name="CreatorId" runat="server" Width="80%"
                        validator="length[1,36]" ></asp:TextBox>
                </td>
                <th>
                    关联流程实例:                </th>
                <td>
                    <asp:TextBox ID="tbWFInstanceId" Name="WFInstanceId" runat="server" Width="80%"
                        validator="length[1,15]" ></asp:TextBox>
                </td>
            </tr>  
            <tr>
                <th>
                    配件名称:                </th>
                <td>
                    <asp:TextBox ID="tbPartName" Name="PartName" runat="server" Width="80%"
                        validator="length[1,60]" ></asp:TextBox>
                </td>
                <th>
                    配件型号规格:                </th>
                <td>
                    <asp:TextBox ID="tbPartModel" Name="PartModel" runat="server" Width="80%"
                        validator="length[1,60]" ></asp:TextBox>
                </td>
            </tr>  
            <tr>
                <th>
                    报废数量:                </th>
                <td>
                    <asp:TextBox ID="tbCount" Name="Count" runat="server" Width="80%"
                         ></asp:TextBox>
                </td>
                <th>
                    单价:                </th>
                <td>
                    <asp:TextBox ID="tbPrice" Name="Price" runat="server" Width="80%"
                         ></asp:TextBox>
                </td>
            </tr>  
            <tr>
                <th>
                    配件编号:                </th>
                <td>
                    <asp:TextBox ID="tbPartNo" Name="PartNo" runat="server" Width="80%"
                         ></asp:TextBox>
                </td>
                <th>
                    剩余备品数量:                </th>
                <td>
                    <asp:TextBox ID="tbRemainCount" Name="RemainCount" runat="server" Width="80%"
                         ></asp:TextBox>
                </td>
            </tr>  
            <tr>
				<th>
                    报废原因:                </th>
                <td>
                    <asp:TextBox ID="tbDiscardReason" Name="DiscardReason" runat="server" Width="80%"
                        validator="length[1,1024]"  Columns="10"></asp:TextBox>
                </td>
				<th>
                    参加鉴定人员:                </th>
                <td>
                    <asp:TextBox ID="tbAppraiseUsers" Name="AppraiseUsers" runat="server" Width="80%"
                        validator="length[1,1024]"  Columns="10"></asp:TextBox>
                </td>
            </tr>  
            <tr>
                <th>
                    审批人:                </th>
                <td>
                    <asp:TextBox ID="tbApprovalUserId" Name="ApprovalUserId" runat="server" Width="80%"
                        validator="length[1,36]" ></asp:TextBox>
                </td>
				<th>
                    审批时间:                </th>
                <td>
                    <web:DatePicker ID="dpApprovalTime" Name="ApprovalTime" runat="server" ShowTrigger="true" ></web:DatePicker>
                </td>
            </tr>
        </table>            
    </div>
    
    <!-- 页脚区域 -->
    <div class="footer">
        <asp:Button ID="btnSave" runat="server" Text="确定" OnClientClick="return validateForm();" onclick="SaveOrUpdatePartsDiscardRecord"/>                
        <asp:Button ID="btnClose" runat="server" Text="关闭" OnClientClick="return closeForm();" />          
    </div>
    
</asp:Content>

    
